//
//  AppDelegate.h
//  one_mile_01
//
//  Created by 王雅蓉 on 15/8/21.
//  Copyright (c) 2015年 王雅蓉. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import <CloudPushSDK/CloudPushSDK.h>
#import "leadPageViewController.h"
#import "MainTabViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate,changePage>
@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic,strong) leadPageViewController  *leadPageVC;
@property (nonatomic,strong) MainTabViewController *mainTab;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

@end

